package com.geologyoa.persist;

import java.util.List;
import com.geologyoa.domain.Roles;


public interface RolesDao {
	public abstract Boolean AddRoles(Roles roles);
	public abstract List<Roles> SearchAllRoles();
	public abstract Boolean CheckRoles(String RoleName);
	public abstract Boolean CheckRolesExceptId(String RoleName,String roleId);
	
	public abstract List<Roles> SearchRoles(String rolename);
	 public abstract Boolean DelRoleInfo(String roleid);
	 public abstract Boolean UpdateRoleInfo(Roles roles);
}
